From: | Tim Herbert |
Date: | 14 Sep 99 at 16:17:16 |
Subject: | RE: Mouse+Mouse = 2Mice. |
Rob Hutchinson wrote:
> Does ANYONE know if there are commands to control the
> second mouse port PLEEEAAASSE!?!?! :)
I *have* done this years ago in AMOS by peeking one of the hardware
registers (like, but probably
not, $bfe001).
I could determine the position of the mouse somehow - I think the low byte
contained X from 0-255
and the high byte contained Y from 0-255.
For a continuous value, values of X jumping suddenly from >200 to <50 would
increase a value for
'course X', ie. the mouse position is 256 * coursex + x. CourseX would also
be decreased if X jumps
suddenly from a low value to a high value.
Repeat this with Y, and add some area limits, and there you go. If only I
could remember the
address to peek (I don't have access to the RKM.)
- Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie